package com.shop.myweb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shop.myweb.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author 11098
 * @description 针对表【user(用户信息)】的数据库操作Mapper
 * @createDate 2023-04-23 19:43:24
 * @Entity com.shop.myweb.entity.User
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    @Select("select * from user where username = #{username}")
    User queryUser(String username);

}




